# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
# Maintainer: Justin Berthault <justin.berthault@zaclys.net>
pkgname=py3-django-crispy-forms
pkgver=1.9.2
pkgrel=0
pkgdesc="Dry Django forms"
options="!check" # No testsuite
url="https://github.com/django-crispy-forms/django-crispy-forms"
arch="noarch"
license="MIT"
depends="py3-django"
makedepends="py3-setuptools"
source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/d/django-crispy-forms/django-crispy-forms-$pkgver.tar.gz"
builddir="$srcdir"/django-crispy-forms-$pkgver

replaces="py-django-crispy-forms" # Backwards compatibility
provides="py-django-crispy-forms=$pkgver-r$pkgrel" # Backwards compatibility

build() {
	python3 setup.py --quiet build
}

package() {
	python3 setup.py --quiet install --prefix=/usr --root="$pkgdir"
}

sha512sums="2f3696d3a4b1ff1a203ae4f73ec42e9862bfcb709267f3d5788c4bdbccbd8f56070a2e51948557344ac23fd0fb157457a80b898b4573676282ac7a6a061a32be  py3-django-crispy-forms-1.9.2.tar.gz"
